const config = {
    baseURL: '/api',
    transpileDependencies: true,
    dev: {
        proxyTable: {
            "/api": {
                target: 'http://127.0.0.1:8081/',  // 后端 API 的地址
                changeOrigin: true,
                pathRewrite: {
                    "^/api": "" //用'/api' 代替 'http://www.liulongbin.top:3005/api'
                }
            }
        }
    }
}
export default config;

